﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Dream2
{
    class Circle
    {
        float sum = 0;
        int sum1 = 0;
        double π = 3.14;
        public int Radial { get; set; }

        public int Long { get; set; }

        public int Wide { get; set; }

        public void Area(int Radial) 
        {
            sum = (float)(π * Radial * Radial);
        }
        public void Sum(int Long, int Wide) 
        {
            sum1 = Long * Wide; 
        }

        public void Xass() 
        {
            Console.WriteLine("圆的面积是"+(π * Radial * Radial));
            Console.WriteLine("长方形的面积为"+(Long * Wide));
        }
      
    }
}
